package com.hone.honewed.controller.QianMenu;

import com.eig.common.vo.Result;
import com.hone.honewed.service.QianMenu.QianMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ：YQ袁（2446806940@qq.com）
 * @date ：Created in 2022/12/29 15:44
 * @description：
 * @modified By：
 * @version:
 */
@RequestMapping("/home/qian/zone")
@RestController
public class QianMenuController {
    @Autowired
    private QianMenuService qianMenuService;


    @GetMapping("/getAllQianMenu")
    public Result getAllQianMenu(){
        return  qianMenuService.getAllQianMenu();
    }
}
